$sz:.12rem;
$w:100%;
$bs: rgb(255, 255, 255);
.book{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.clearflow::after{
    content: "";
    display: block;
    clear: both;
}
.content{
    min-height: 8.86rem;
}
html,body{
    width: 100%;
    height: 100%;
    
}
html{
    font-size: calc(100vw / 7.5);
}
#box{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
//头部开始
header{
    width: $w;
    height: 2.68rem;
    background-color: #61666c;
}
.headerButton{
    // display: inline-block;
    position: absolute;
    right: .24rem;
    bottom: .16rem;
    height: .48rem;
    width: 0.96rem;
    background-color: rgba(7, 17, 27,.2);
    border-radius: .36rem;
    text-align: center;
    line-height: .48rem !important;
    vertical-align: middle;
    @extend.headtopCaptionBottom;
}
.headtop{//头部上部分 一共分为上下两个部分
    width: $w;
    height:2rem;
    overflow: hidden;
    position: relative;
}

.headtop1{
    //这部分是显示在中间的内容定位到中间
    width: 5rem;
    height: 1.5rem;
    float: left;
    margin-top: .48rem;
    margin-left: .48rem;
    // background-color: aquamarine;
}
.headtopImg{//图片
    width: 1.28rem;
    height: 1.5rem;
    float: left;
    img{
        width: 1.28rem;
        height: 1.28rem;
        border-radius: .04rem;
    }
}
.headtopCaption{//商品名称
    width: 5rem - 1.28rem;
    height: $w;
    // background-color: tomato;
    float: left;
    padding-top: .04rem;
    padding-left: .32rem;
}
.headtopCaptionTopImg{
    img{
        display:block;
        float: left;
        width: .6rem;
        height: .36rem;
        margin-right: .12rem;
    }
    font-size: .32rem;
    color: $bs;
    font-weight: bold;
    line-height: .36rem;
    margin-bottom: .16rem;
}
.headtopCaptionContent{//蜂鸟专送
    font-size: $sz * 2;
    color: $bs;
    font-weight: 200;
    line-height: $sz * 2;
    margin-bottom: .2rem;
}
.headbottom{//头部下部分
    width: $w;
    height: calc(100% - 2rem);
    // background-color: rgb(221, 43, 221);
    font-size: .2rem;
    color: $bs;
    background-color: rgba(7, 17, 27,.2);
    padding: 0 .24rem;
    display: flex;
    justify-content: center;
    align-items: center;
    img{
        display: block;
        width: 0.44rem;
        height: 0.24rem;
        margin-right: .08rem;
        float: left;
    }
    .headbottom2{
        display: block;
        flex: 1;
        @extend.book;
    }
    .headbottom3{
        display: block;
        width: 0.32rem;
        height: 0.32rem;
    }
}
.headtopCaptionBottom{
    font-size: .2rem;
    color: $bs;
    font-weight: 200;
    line-height: $sz*2;
    img{
        display: block;
        width: 0.24rem;
        height: 0.24rem;
        float: left;
        margin-right: .08rem;
    }
}

    

    

//头部结束
//内容开始
section{
    width: 100%;
    flex: 1;
    @extend.content;
    max-height: 8.86rem;
    // background-color: pink;
}
.sectionContent{
    overflow: hidden;
    display: flex;
    max-height: 8.86rem;
    margin-bottom: 1rem;
}
.sectionTop{
    width: $w;
    height: .8rem;
    background-color: $bs;
    font-size: .28rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    .span{
        color: rgb(77,85,93);
        flex: 1;
    }
}
.sectionContentLeft{//侧边栏
    width: 1.6rem;
    // background-color: aqua;
    font-size: $sz * 2;
    font-weight: 200;
    overflow: hidden;
    
    ul{
        width: $w;
        height: $w;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        overflow-x: scroll;
        
        li{
            // display: block;
            width: $w;
            height: 1rem;
            background-color: #f3f5f7;
            padding-top: .24rem;
            padding-left: .24rem;
             span{
                display: block;
                line-height: .28rem;
                width: 1.12rem;
                border-bottom: 1px solid rgb(7, 17, 27,.1);
                height: $w;
            }
        }
    }
}
.sectionContentRight{//右边内容
    flex: 1;

    background-color: #f3f5f7;
    overflow-x: scroll;
}
.sectionContentRight1{
    height: 2.72rem;
    .srcSpan{
        display: block;
        height: .52rem;
        font-size: $sz * 2;
        color: rgb(147, 153, 159);
        background-color: #f3f5f7;
        border-left: 2px solid #d9dde1;
        padding-left: .28rem;
        line-height: .52rem;
        width: $w;
    }
}
.sectionContentRight1-1{
    width: $w;
    height: 2rem;
    padding: .36rem;
    overflow: hidden;
    display: flex;
    margin-bottom: .02rem;
    background-color: #fff;
    #srcImg{
        width: 1.15rem;
        height: 1.15rem;
        margin-right: .2rem;
        img{
            width: 1.15rem;
            height: 1.15rem;
        }
    }

}
.scr-content{
    flex: 1;
    height: $w;
    p:nth-of-type(1){
        margin-top: .04rem;
        font-size: .28rem;
        color: rgb(7, 17, 27,);
        line-height: .28rem;
        @extend.bottom;
    }
    p:nth-of-type(2){
        @extend.gg;
        @extend.bottom;
    }
    p:nth-of-type(3){
        @extend.gg;
        @extend.bottom;
    }
   .price{
       display: flex;
       justify-content: space-between;
       align-items: center;
   }
   .price1{
    display: flex;
    justify-content: start;
    align-items: center;
   }
}
#scr-content-button{
    width: 1.28rem;
    height: .40rem;
    font-size: .2rem;
    .span1,.span2{
        display: block;
        width: 0.4rem;
        height: 0.40rem;
        text-align: center;
        font-weight: 700;
        border: 2px solid #00a0dc;
        border-radius: 50%;
        outline: none;
        float: left;
    }
    input{
        float: left;
        width: 0.48rem;
        height: 0.40rem;
        outline: none;
        border: 0;
        text-align: center;
        line-height: .4rem;
    }
}
.bottom{
    margin-bottom: .16rem;
}
.gg{
    font-size: .2rem;
    color: rgb(147,153,159);
    line-height: .20rem;
}

//内容结束
//底部开始
footer{
    width: 100%;
    height: 1rem;
    background-color: #141d27;
    // position: fixed;
    // right: 0;
    // bottom: 0;
    display: flex;
    font-size: .18rem;
    color: #d9dde1;
    justify-content: center;
    align-items: center;
}
.total{
    width: 2.1rem;
    height: $w;
    text-align: center;
    font-size: $w * 2;
    color: rgb(255, 255, 255,.4);
    font-weight: 700;
    line-height: 1rem;
}
.cart{
    width: 1.5rem;
    height: $w;
    position: relative;
    .cartImg{
        width: 1.16rem;
        height: 1.16rem;
        background:url(../SVG/shopping_cart.svg);    
        background-size: 80%;
        background-position: center;
        background-color:rgb(255, 255, 255,.4);
        border-radius: 50%;
        border: .12rem solid #131d26;
        position: absolute;
        left: .24rem;
        bottom: 0;
    }
}
.cart1{
    width: 1.5rem;
    height: .48rem;
    font-size: .32rem;
    border-right: .02rem solid rgb(255, 255, 255,.1);
}
.delivery{
    flex: 1;
}
//底部结束